from django.db import models

# Create your models here.

class TwitterProfile(models.Model):
	screen_name = models.CharField(max_length=200)
	active =  models.BooleanField(default=True)
	    
	def __unicode__(self):
		return self.screen_name
	
class TwitterTweet(models.Model):
	text = models.CharField(max_length=140)
	created = models.DateTimeField()
	user_id = models.CharField(max_length=25)
	uid = models.CharField(max_length=200, unique=True)
	screen_name = models.CharField(max_length=200)
	
	def __unicode__(self):
		return str(self.id)